package com.itheima02.day02test;

/**
 * @author 刘全
 * @date 2021/7/16
 */
//定义青蛙类
public class Frog extends Animals implements Swim{
    @Override
    public void eat() {
        System.out.println("青蛙吃小虫");
    }

    @Override
    public void swimming() {
        System.out.println("青蛙会蛙泳");
    }
}
